morality play
noun
°a type of allegorical drama towards the end of the Middle Ages that demonstrates a moral theme such as a character's inner struggle to attain moral enlightenment or salvation.